
union4.o:     file format elf32-littlearm


Disassembly of section .text:

00000000 <main>:
	int  b;
	long c;
};

int main()
{
   0:	e92d4800 	push	{fp, lr}
   4:	e28db004 	add	fp, sp, #4
   8:	e24dd008 	sub	sp, sp, #8
	union test tt;
	
	tt.a = 'a';
   c:	e3a03061 	mov	r3, #97	; 0x61
  10:	e54b3008 	strb	r3, [fp, #-8] ; tt.a
	printf("%c\n", tt.a);
  14:	e55b3008 	ldrb	r3, [fp, #-8] ; tt.a
  18:	e1a01003 	mov	r1, r3
  1c:	e59f0158 	ldr	r0, [pc, #344]	; 17c <main+0x17c>
  20:	ebfffffe 	bl	0 <printf>
	printf("%c\n", tt.b);
  24:	e51b3008 	ldr	r3, [fp, #-8] ; tt.b
  28:	e1a01003 	mov	r1, r3
  2c:	e59f0148 	ldr	r0, [pc, #328]	; 17c <main+0x17c>
  30:	ebfffffe 	bl	0 <printf>
	printf("%c\n", (int)tt.c);
  34:	e51b3008 	ldr	r3, [fp, #-8] ; tt.c
  38:	e1a01003 	mov	r1, r3
  3c:	e59f0138 	ldr	r0, [pc, #312]	; 17c <main+0x17c>
  40:	ebfffffe 	bl	0 <printf>
	printf("union = %c\n\n", tt);
  44:	e51b1008 	ldr	r1, [fp, #-8]  ; tt
  48:	e59f0130 	ldr	r0, [pc, #304]	; 180 <main+0x180>
  4c:	ebfffffe 	bl	0 <printf>
	
	tt.b = 100;
  50:	e3a03064 	mov	r3, #100	; 0x64
  54:	e50b3008 	str	r3, [fp, #-8] ; tt.b = 100
	printf("%d\n", tt.a);
  58:	e55b3008 	ldrb	r3, [fp, #-8] ; tt.a
  5c:	e1a01003 	mov	r1, r3            ; tt.a
  60:	e59f011c 	ldr	r0, [pc, #284]	; 184 <main+0x184>
  64:	ebfffffe 	bl	0 <printf>
	printf("%d\n", tt.b);
  68:	e51b3008 	ldr	r3, [fp, #-8]
  6c:	e1a01003 	mov	r1, r3
  70:	e59f010c 	ldr	r0, [pc, #268]	; 184 <main+0x184>
  74:	ebfffffe 	bl	0 <printf>
	printf("%d\n", (int)tt.c);
  78:	e51b3008 	ldr	r3, [fp, #-8]
  7c:	e1a01003 	mov	r1, r3
  80:	e59f00fc 	ldr	r0, [pc, #252]	; 184 <main+0x184>
  84:	ebfffffe 	bl	0 <printf>
	printf("union = %d\n\n", tt);
  88:	e51b1008 	ldr	r1, [fp, #-8]
  8c:	e59f00f4 	ldr	r0, [pc, #244]	; 188 <main+0x188>
  90:	ebfffffe 	bl	0 <printf>
	
	tt.a = 'a';
  94:	e3a03061 	mov	r3, #97	; 0x61
  98:	e54b3008 	strb	r3, [fp, #-8]
	printf("%c\n", tt.a);
  9c:	e55b3008 	ldrb	r3, [fp, #-8]
  a0:	e1a01003 	mov	r1, r3
  a4:	e59f00d0 	ldr	r0, [pc, #208]	; 17c <main+0x17c>
  a8:	ebfffffe 	bl	0 <printf>
	printf("%c\n", tt.b);
  ac:	e51b3008 	ldr	r3, [fp, #-8]
  b0:	e1a01003 	mov	r1, r3
  b4:	e59f00c0 	ldr	r0, [pc, #192]	; 17c <main+0x17c>
  b8:	ebfffffe 	bl	0 <printf>
	printf("%c\n", (int)tt.c);
  bc:	e51b3008 	ldr	r3, [fp, #-8]
  c0:	e1a01003 	mov	r1, r3
  c4:	e59f00b0 	ldr	r0, [pc, #176]	; 17c <main+0x17c>
  c8:	ebfffffe 	bl	0 <printf>
	printf("union = %c\n\n", tt);
  cc:	e51b1008 	ldr	r1, [fp, #-8]
  d0:	e59f00a8 	ldr	r0, [pc, #168]	; 180 <main+0x180>
  d4:	ebfffffe 	bl	0 <printf>
	
	tt.c = 20000;
  d8:	e59f30ac 	ldr	r3, [pc, #172]	; 18c <main+0x18c>
  dc:	e50b3008 	str	r3, [fp, #-8]
	printf("%d\n", (char)tt.a);
  e0:	e55b3008 	ldrb	r3, [fp, #-8]
  e4:	e1a01003 	mov	r1, r3
  e8:	e59f0094 	ldr	r0, [pc, #148]	; 184 <main+0x184>
  ec:	ebfffffe 	bl	0 <printf>
	printf("%d\n", (int)tt.b);
  f0:	e51b3008 	ldr	r3, [fp, #-8]
  f4:	e1a01003 	mov	r1, r3
  f8:	e59f0084 	ldr	r0, [pc, #132]	; 184 <main+0x184>
  fc:	ebfffffe 	bl	0 <printf>
	printf("%ld\n", tt.c);
 100:	e51b3008 	ldr	r3, [fp, #-8]
 104:	e1a01003 	mov	r1, r3
 108:	e59f0080 	ldr	r0, [pc, #128]	; 190 <main+0x190>
 10c:	ebfffffe 	bl	0 <printf>
	printf("union = %ld\n\n", tt);
 110:	e51b1008 	ldr	r1, [fp, #-8]
 114:	e59f0078 	ldr	r0, [pc, #120]	; 194 <main+0x194>
 118:	ebfffffe 	bl	0 <printf>
	
	tt.c = 3000;
 11c:	e59f3074 	ldr	r3, [pc, #116]	; 198 <main+0x198>
 120:	e50b3008 	str	r3, [fp, #-8]
	printf("%d\n", tt.c);
 124:	e51b3008 	ldr	r3, [fp, #-8]
 128:	e1a01003 	mov	r1, r3
 12c:	e59f0050 	ldr	r0, [pc, #80]	; 184 <main+0x184>
 130:	ebfffffe 	bl	0 <printf>
	tt.a = 'b';
 134:	e3a03062 	mov	r3, #98	; 0x62
 138:	e54b3008 	strb	r3, [fp, #-8]
	printf("%c\n", tt.a);
 13c:	e55b3008 	ldrb	r3, [fp, #-8]
 140:	e1a01003 	mov	r1, r3
 144:	e59f0030 	ldr	r0, [pc, #48]	; 17c <main+0x17c>
 148:	ebfffffe 	bl	0 <printf>
	printf("%c\n", tt.c);
 14c:	e51b3008 	ldr	r3, [fp, #-8]
 150:	e1a01003 	mov	r1, r3
 154:	e59f0020 	ldr	r0, [pc, #32]	; 17c <main+0x17c>
 158:	ebfffffe 	bl	0 <printf>
	printf("%d\n", tt.c);
 15c:	e51b3008 	ldr	r3, [fp, #-8]
 160:	e1a01003 	mov	r1, r3
 164:	e59f0018 	ldr	r0, [pc, #24]	; 184 <main+0x184>
 168:	ebfffffe 	bl	0 <printf>
	
	return 0;
 16c:	e3a03000 	mov	r3, #0
}
 170:	e1a00003 	mov	r0, r3
 174:	e24bd004 	sub	sp, fp, #4
 178:	e8bd8800 	pop	{fp, pc}
 17c:	00000000 	.word	0x00000000
 180:	00000004 	.word	0x00000004
 184:	00000014 	.word	0x00000014
 188:	00000018 	.word	0x00000018
 18c:	00004e20 	.word	0x00004e20
 190:	00000028 	.word	0x00000028
 194:	00000030 	.word	0x00000030
 198:	00000bb8 	.word	0x00000bb8
